<template>
    <div class="login">
        <div class="logo"><img src="~assets/images/logo.png" alt=""></div>
        <div class="login_from">
            <div class="login_from_top">Welcome to eBanking</div>
            <div class="login_from_bottom">
                <div class="login_from_input">
                    <div class="login_group">
                        <div class="label">用户名</div>
                        <van-cell-group :border="false">
                            <van-field v-model="value" placeholder="请输入用户名" autosize />
                        </van-cell-group>
                    </div>
                    <div class="login_group">
                        <div class="label">登录密码</div>
                        <van-cell-group :border="false">
                            <van-field v-model="value" placeholder="请输入登录密码" autosize />
                        </van-cell-group>
                    </div>
                    <div class="login_group">
                        <div class="label">验证码</div>
                        <van-cell-group :border="false">
                            <van-field v-model="value" placeholder="请输入验证码" autosize />
                        </van-cell-group>
                    </div>
                    <div class="forget">忘记密码?</div>
                    <div class="submit">
                        <van-button round type="info" size="large">登录</van-button>
                    </div>
                    <div class="register">
                        <router-link to="/register">创建钱包</router-link>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
  export default {
    name: "Login",
    data(){
      return{
        value:''
      }
    },
    created(){

    }
  }
</script>

<style scoped>
.login{
    /*height: calc(100vh - 10px);*/
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    bottom: 0px;
    background: url("~assets/images/bj_01.png") ,url("~assets/images/bj_02.png");
    background-repeat: no-repeat,no-repeat;
    background-position: top right,left bottom;
    background-size: 522px 575px,542px,856px;
}
    .logo img{
        width: 271px;
        margin: 59px 0 0 95px;
    }
    .login_from{
        height: 1153px;
        width: 895px;
        box-shadow: 0px 0px 30px 5px darkgrey;
        margin: 0 auto;
        background-color: #fff;
        margin-top: 48px;
    }
    .login_from_top{
        height: 185px;
        background-image: linear-gradient(to right,#5C4AC0,#FB4A4E,#FFDC4A);
        font-size: 46px;
        font-weight: bold;
        color: #fff;
        line-height: 185px;
        padding-left: 53.5px;
        z-index: 999;
    }
    .login_from_bottom{
        padding-top: 40px;
    }
    .login_from_input{
        width: 657px;
        margin: 0 auto;
    }
    .login_group{
        padding-top: 47.7px;
        height: 132px;
        font-size: 18px;
    }
    .forget{
        padding-top: 60px;
        text-align: right;
        color: #787878;
        font-size: 28px;
    }
    .label{
        color: #4A69FF;
        font-size: 36px;
        padding-bottom: 7.5px;
    }
    .submit{
        width: 300px;
        /*height: 120px;*/
        margin: 0 auto;
        /*padding-top: 20px;*/
    }
    .van-button{
        font-size: 36px;
        height: 120px;
        margin-top: 30px;
    }
    .van-cell{
        border-bottom: 1px solid #CCCCCC;
        padding-left: 0;
    }
    .register{
        text-align: center;
        margin-top: 56px;
        font-size: 42px;
        color: #4A69FF;
    }
    .register a:link{
        color: #4A69FF;
    }
    .register a:visited{
        color: #4A69FF;
    }
    .register a:hover{
        color: #4A69FF;
    }
    .register a:active{
        color: #4A69FF;
    }
</style>
